#include <string.h>
#include "hash.h"

int hash (char *palabra)
{	
		int i=0;
		int h=0;
	while (i<strlen(palabra))
	{   
		h= h + (int)palabra[i];
		i++;
	}
		return (h%HASH_TAM);
}
